package com.szty.lib_pen.sendPoint.room

import androidx.room.ColumnInfo
import androidx.room.Entity
import androidx.room.PrimaryKey

/**
 * 上传到服务器需要的数据实体类
 */
@Entity
data class DotBean(



    @ColumnInfo(name="bookId")
    val bookId: Int,

    @ColumnInfo(name="ownerId")
    val ownerId: Int,

    @ColumnInfo(name="pageId")
    val pageId: Int,

    @ColumnInfo(name="sectionId")
    val sectionId: Int,

    @ColumnInfo(name="counter")
    val counter: Int,

    @ColumnInfo(name="force")
    val force: Int,

    @ColumnInfo(name="fx")
    val fx: Int,

    @ColumnInfo(name="fy")
    val fy: Int,

    @ColumnInfo(name="angle")
    val angle: Int,

    @ColumnInfo(name="penMac")
    val penMac: String,

    @ColumnInfo(name="id")
    var id: Int,

    @ColumnInfo(name="timeLong")
    val timeLong: Long,

    @ColumnInfo(name="type")
    val type: String,

    @ColumnInfo(name="x")
    val x: Int,

    @ColumnInfo(name="y")
    val y: Int,

    @ColumnInfo(name = "studentId")
    val studentId:Int,

    @PrimaryKey(autoGenerate = true)
    val uid:Int=0

)